projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7abbd5f
)
Compile multiple .c files when possible.
author
Geoff Voelker
<voelker@cs.washington.edu>
Sat, 6 Mar 1999 02:14:28 +0000
(
02:14
+0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Sat, 6 Mar 1999 02:14:28 +0000
(
02:14
+0000)
Use BLD instead of assuming i386.
nt/makefile.def
patch
|
blob
|
history
diff --git
a/nt/makefile.def
b/nt/makefile.def
index 8b949ffe65648b9a4129c9fae2560c8afeba1c47..783f63fba8ccc854f73a77210b612936d96522f3 100644
(file)
--- a/
nt/makefile.def
+++ b/
nt/makefile.def
@@
-218,3
+218,15
@@
ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS)
!endif
!endif
!endif
+
+#
+# If the compiler supports compiling multiple .c files to .o files at
+# one time, use this feature.
+#
+!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)")
+.c{$(BLD)}.obj:
+ $(CC) $(CFLAGS) -Fo$(BLD)\ $<
+!ELSE
+.c{$(BLD)}.obj::
+ $(CC) $(CFLAGS) -Fo$(BLD)\ $<
+!ENDIF